package com.box.dao.mapper;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.box.dao.data.User;
import com.github.pagehelper.Page;

public interface UserMapper{
	
	void save(User user);
	boolean update(User user);
	boolean delete(int id);
	User findById(int id);
	List<User> findAll();
	
	Page<User> selectPageInfo(User user,RowBounds rowBounds);
}
